﻿using DotNetOpenAuth.OpenId.RelyingParty;

namespace ChatterBox.Extensions
{
    public static class AuthenticationResponseExtensions
    {
        public static bool IsSuccessful( this IAuthenticationResponse response )
        {
            return response != null && response.Status == AuthenticationStatus.Authenticated;
        }

    }
}